package com.woniu.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 机构表
 * </p>
 *
 * @author xiaotang
 * @since 2022-10-10
 */
@Getter
@Setter
@TableName("tb_organization")
@ApiModel(value = "Organization对象", description = "机构表")
public class Organization implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("机构主键")
      @TableId(value = "id", type = IdType.AUTO)
      @ExcelProperty("机构编号")
      private Long id;

      @ApiModelProperty("机构图片")
      @ExcelProperty("机构图片")
      private String image;

      @ApiModelProperty("机构名称")
      @ExcelProperty("机构名称")
      private String title;

      @ApiModelProperty("负责人姓名")
      @ExcelProperty("负责人姓名")
      private String name;

      @ApiModelProperty("电话")
      @ExcelProperty("电话")
      private String tel;

      @ApiModelProperty("机构地址")
      @ExcelProperty("机构地址")
      private String address;

      @ApiModelProperty("状态  (0未启用, 1启用)")
      @ExcelProperty("状态  (0未启用, 1启用)")
      private String status;

      @ApiModelProperty("机构介绍")
      @ExcelProperty("机构介绍")
      private String describer;

      @ApiModelProperty("是否删除  (0未删除, 1删除)")
      @TableLogic
      @ExcelProperty("是否删除  (0未删除, 1删除)")
      private String isDelete;
}
